<?php /* @var $calendar CalendarEntry */ ?>
<?php echo __('repetition time');?></br>
<?php echo __('cycle duration:');?></br>
<?php echo input_tag('calendar[duration]'
					, $calendar->getDuration()
					, array())?></br>
<?php foreach( CalendarEntry::getTimeMetricList() as $key => $metric ): ?>
    <?php echo radiobutton_tag('calendar[metric]'
    						, $key
    						, ($calendar->getDurationMetric() == $key));?>
    <?php echo __($metric);?></br>
<?php endforeach; ?>
